package io;

import java.io.*;
import java.nio.charset.StandardCharsets;

public class PWDDemo2 {
    public static void main(String[] args) throws IOException {
        FileInputStream fis=new FileInputStream("u.txt");
        InputStreamReader iso=new InputStreamReader(fis, StandardCharsets.UTF_8);
        BufferedReader bos=new BufferedReader(iso);
        String line;
        while ((line=bos.readLine())!=null){
            System.out.println(line);

        }
        bos.close();
    }
}
